<?php
include_once('class/autoload.php');
$page = new page_admin('');
$page->URL(__FILE__);
$page->titre = 'Nouvel Article';
$page->logo = 'square';
$page->contenu = '<div class="col-lg-9 main-chart">
		<div class="col-md-12">
			<div class="content-panel">
				<h4><i class="fa fa-plus-square"></i> Nouvel Article</h4>
		<h2 id="resultatajax"></h2>
				<div class="form-panel">
					<form class="form-horizontal style-form" method="POST" action="CLASS/Administrateur/receptionform.php">
						<h4><i class="fa fa-angle-right"></i> Informations</h4><hr>
						<div class="form-group">
							<label class="col-sm-2 col-sm-2 control-label">Titre</label>
							<div class="col-sm-10">
								<input class="form-control" id="titrearticle" name="Titre" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 col-sm-2 control-label">Rubrique</label>
							<div class="col-sm-10">
								<select id="rubriquearticle" class="form-control" name="Rubrique">
								</select>
							</div>
						</div>
						<form id="ckeditor-form">
							<textarea name="editor1" id="contenuarticle" rows="10" cols="80">
							</textarea>
							<script>
								CKEDITOR.replace( "editor1" );
							</script>
						</form>
					</div>
				<span style="padding-left:62%;">
				<button id="enregistrer" type="button" class="btn btn-info col-xs-push-8"><i class="fa fa-floppy-o"></i> Enregistrer</button>
				<button  type="button" class="btn btn-success col-xs-push-8"><i class="fa fa-check"></i> Valider</button>
				<button  type="button" class="btn btn-danger col-xs-push-8"><i class="fa fa-remove"></i> Annuler</button>
				</span>
				</div>
			</div>
		</div>
			<div class="col-lg-3 ds">	
				<h3>PHOTO</h3><br>
					<img class="col-lg-12 content-panel" src="assets/img/PhotoProfil/nophoto.jpg">
					<form class="col-lg-12" class= method="post" action="CLASS/Article/modification.php" enctype="multipart/form-data">
					<br><input type="file" name="nom" />
					<br><button type="submit">
					</form>
			</div>
		</div>';
$page->affiche();